.class public final Lnbisdk/ij;
.super Ljava/lang/Object;


# static fields
.field private static TAG:Ljava/lang/String;


# instance fields
.field private aA:Lnbisdk/ao;

.field private kS:Ljava/util/Vector;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Vector",
            "<",
            "Lnbisdk/lm;",
            ">;"
        }
    .end annotation
.end field

.field private mContext:Landroid/content/Context;

.field private nf:Landroid/graphics/Bitmap;

.field private vB:Lcom/nbi/map/data/Rectangle;

.field private vC:Lcom/nbi/map/data/Rectangle;

.field private vD:Landroid/graphics/Canvas;

.field private vE:Lnbisdk/gu;

.field private vF:Lnbisdk/gu;

.field private vG:Ljava/util/Hashtable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Hashtable",
            "<",
            "Ljava/lang/Object;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field

.field private vH:Lnbisdk/ij$b;

.field private vI:Landroid/graphics/Bitmap;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-string v0, "OffScreenState"

    sput-object v0, Lnbisdk/ij;->TAG:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Lcom/nbi/common/NBIContext;Lnbisdk/ao;)V
    .locals 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    invoke-virtual {p1}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bl;

    invoke-virtual {v0}, Lnbisdk/bl;->jw()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ij;->mContext:Landroid/content/Context;

    invoke-static {}, Lnbisdk/bl;->jv()Ljava/util/Hashtable;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ij;->vG:Ljava/util/Hashtable;

    iput-object p2, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    new-instance v0, Lcom/nbi/map/data/Rectangle;

    invoke-direct {v0}, Lcom/nbi/map/data/Rectangle;-><init>()V

    iput-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    iget-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-direct {p0, v0}, Lnbisdk/ij;->f(Lcom/nbi/map/data/Rectangle;)V

    iget-object v0, p0, Lnbisdk/ij;->vG:Ljava/util/Hashtable;

    const-string v1, "ossBitmap"

    invoke-virtual {v0, v1}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Bitmap;

    iput-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    if-nez v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v0

    iget-object v1, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v1

    sget-object v2, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v0, v1, v2}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    iget-object v1, p0, Lnbisdk/ij;->vG:Ljava/util/Hashtable;

    const-string v2, "ossBitmap"

    invoke-virtual {v1, v2, v0}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    new-instance v0, Landroid/graphics/Canvas;

    iget-object v1, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    invoke-direct {v0, v1}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    iput-object v0, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    iget-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->makeClone()Lcom/nbi/map/data/Rectangle;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ij;->vB:Lcom/nbi/map/data/Rectangle;

    new-instance v0, Lnbisdk/gu;

    invoke-direct {v0}, Lnbisdk/gu;-><init>()V

    iput-object v0, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    new-instance v0, Lnbisdk/gu;

    invoke-direct {v0}, Lnbisdk/gu;-><init>()V

    iput-object v0, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    new-instance v0, Lnbisdk/ij$a;

    invoke-direct {v0, p0}, Lnbisdk/ij$a;-><init>(Lnbisdk/ij;)V

    invoke-virtual {p2, v0}, Lnbisdk/ao;->a(Lnbisdk/ij$a;)V

    return-void

    :catch_0
    move-exception v0

    invoke-static {}, Ljava/lang/System;->gc()V

    iget-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v0

    iget-object v1, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v1

    sget-object v2, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v0, v1, v2}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    goto :goto_0
.end method

.method private a(ZII)Landroid/graphics/Bitmap;
    .locals 8

    const/4 v7, 0x0

    iget-object v0, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v0}, Lnbisdk/ao;->ib()Lcom/nbi/map/data/Rectangle;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    if-nez v1, :cond_2

    :try_start_0
    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v1

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v2

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v2, v3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_1

    :cond_0
    :goto_0
    iget-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_1

    new-instance v1, Landroid/graphics/Canvas;

    iget-object v2, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-direct {v1, v2}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int v2, p2, v2

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v3

    div-int/lit8 v3, v3, 0x2

    sub-int v3, p3, v3

    new-instance v4, Landroid/graphics/Rect;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v5

    add-int/2addr v5, v2

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v6

    add-int/2addr v6, v3

    invoke-direct {v4, v2, v3, v5, v6}, Landroid/graphics/Rect;-><init>(IIII)V

    new-instance v2, Landroid/graphics/Rect;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v5

    invoke-direct {v2, v7, v7, v3, v5}, Landroid/graphics/Rect;-><init>(IIII)V

    iget-object v3, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    new-instance v5, Landroid/graphics/Paint;

    invoke-direct {v5}, Landroid/graphics/Paint;-><init>()V

    invoke-virtual {v1, v3, v4, v2, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    if-eqz p1, :cond_1

    iget-object v2, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v2, v1, v0, v7, v7}, Lnbisdk/ao;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;ZZ)V

    :cond_1
    iget-object v0, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    return-object v0

    :cond_2
    iget-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v2

    if-ne v1, v2, :cond_3

    iget-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v1

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v2

    if-eq v1, v2, :cond_0

    :cond_3
    iget-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    :try_start_1
    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v1

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v2

    sget-object v3, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v2, v3}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;
    :try_end_1
    .catch Ljava/lang/OutOfMemoryError; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_0

    :catch_1
    move-exception v1

    goto :goto_0
.end method

.method static synthetic a(Lnbisdk/ij;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/ij;->invalidate()V

    return-void
.end method

.method private f(Lcom/nbi/map/data/Rectangle;)V
    .locals 11

    const/4 v9, 0x1

    const/4 v8, 0x0

    iget-object v0, p0, Lnbisdk/ij;->mContext:Landroid/content/Context;

    const-string v1, "window"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v1}, Lnbisdk/ao;->cc()I

    move-result v1

    invoke-virtual {v0}, Landroid/view/Display;->getWidth()I

    move-result v2

    invoke-virtual {v0}, Landroid/view/Display;->getHeight()I

    move-result v0

    int-to-double v3, v2

    int-to-double v5, v1

    div-double/2addr v3, v5

    invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v3

    double-to-int v3, v3

    int-to-double v4, v0

    int-to-double v6, v1

    div-double/2addr v4, v6

    invoke-static {v4, v5}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v4

    double-to-int v4, v4

    :goto_0
    sub-int v5, v3, v9

    mul-int/2addr v5, v1

    div-int/lit8 v5, v5, 0x2

    div-int/lit8 v6, v2, 0x2

    if-ge v5, v6, :cond_2

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :goto_1
    sub-int v4, v2, v9

    mul-int/2addr v4, v1

    div-int/lit8 v4, v4, 0x2

    div-int/lit8 v5, v0, 0x2

    if-ge v4, v5, :cond_0

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_0
    invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I

    move-result v0

    const/16 v2, 0x100

    if-ge v1, v2, :cond_1

    add-int/lit8 v2, v0, 0x1

    add-int/lit8 v0, v0, 0x1

    move v10, v2

    move v2, v0

    move v0, v10

    :goto_2
    invoke-virtual {p1, v8}, Lcom/nbi/map/data/Rectangle;->setTop(I)V

    invoke-virtual {p1, v8}, Lcom/nbi/map/data/Rectangle;->setLeft(I)V

    mul-int/2addr v2, v1

    invoke-virtual {p1, v2}, Lcom/nbi/map/data/Rectangle;->setWidth(I)V

    mul-int/2addr v0, v1

    invoke-virtual {p1, v0}, Lcom/nbi/map/data/Rectangle;->setHeight(I)V

    return-void

    :cond_1
    move v2, v0

    goto :goto_2

    :cond_2
    move v2, v4

    goto :goto_1
.end method

.method private invalidate()V
    .locals 2

    const/4 v0, 0x0

    :goto_0
    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v1, v1, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    invoke-virtual {v1, v0}, Lnbisdk/gu;->ac(I)Lnbisdk/lm;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/lm;->is()V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method public final J(Z)Landroid/graphics/Bitmap;
    .locals 2

    iget-object v0, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v0}, Lnbisdk/ao;->ai()Lnbisdk/kr;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/kr;->fE()I

    move-result v1

    invoke-virtual {v0}, Lnbisdk/kr;->fF()I

    move-result v0

    invoke-direct {p0, p1, v1, v0}, Lnbisdk/ij;->a(ZII)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method

.method public final a(FFF)V
    .locals 7

    const/4 v6, 0x0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lnbisdk/ij;->TAG:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "scaleOffScreenOnCenterOfAnimation"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "(float scale, float centerOfAnimationX, float centerOfAnimationY)"

    invoke-static {v0, v1}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V

    new-instance v2, Lcom/nbi/map/data/Rectangle;

    invoke-direct {v2}, Lcom/nbi/map/data/Rectangle;-><init>()V

    iget-object v3, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v3}, Lnbisdk/ao;->ai()Lnbisdk/kr;

    move-result-object v3

    invoke-virtual {v3, v2}, Lnbisdk/kr;->c(Lcom/nbi/map/data/Rectangle;)V

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getLeft()I

    move-result v3

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getTop()I

    move-result v4

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v5

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v2

    invoke-virtual {v1, v6, v6, v5, v2}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v2}, Lnbisdk/ao;->ar()V

    iget-object v2, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v2}, Landroid/graphics/Canvas;->save()I

    iget-object v2, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v2}, Landroid/graphics/Canvas;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v2

    invoke-virtual {v2}, Landroid/graphics/Matrix;->reset()V

    invoke-virtual {v2, p1, p1, p2, p3}, Landroid/graphics/Matrix;->postScale(FFFF)Z

    int-to-float v3, v3

    int-to-float v4, v4

    invoke-virtual {v2, v3, v4}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    iget-object v3, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v3, v2}, Landroid/graphics/Canvas;->setMatrix(Landroid/graphics/Matrix;)V

    iget-object v2, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    iget-object v3, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    invoke-virtual {v0, v6, v6, v2, v3}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    iget-object v3, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    new-instance v4, Landroid/graphics/Paint;

    invoke-direct {v4}, Landroid/graphics/Paint;-><init>()V

    invoke-virtual {v2, v3, v0, v1, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    iget-object v0, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v0}, Landroid/graphics/Canvas;->restore()V

    invoke-virtual {p0}, Lnbisdk/ij;->kg()V

    :cond_0
    return-void
.end method

.method public final a(Lnbisdk/ij$b;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/ij;->vH:Lnbisdk/ij$b;

    return-void
.end method

.method public final c(Lnbisdk/cc;)Ljava/util/Vector;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lnbisdk/cc;",
            ")",
            "Ljava/util/Vector",
            "<",
            "Lnbisdk/lm;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->removeAllElements()V

    const/4 v0, 0x0

    :goto_0
    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v1, v1, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    invoke-virtual {v1, v0}, Lnbisdk/gu;->ac(I)Lnbisdk/lm;

    move-result-object v1

    invoke-virtual {v1, p1}, Lnbisdk/lm;->b(Lnbisdk/cc;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    invoke-virtual {v2, v1}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_2

    iget-object v0, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    new-instance v1, Lnbisdk/ij$1;

    invoke-direct {v1, p0}, Lnbisdk/ij$1;-><init>(Lnbisdk/ij;)V

    invoke-static {v0, v1}, Lnbisdk/qb;->a(Ljava/util/Vector;Lnbisdk/jt;)V

    :cond_2
    iget-object v0, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    return-object v0
.end method

.method public final cd()Lcom/nbi/map/data/Rectangle;
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    iget-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v1}, Lnbisdk/ao;->aF()I

    move-result v1

    iget-object v2, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v2

    if-ge v1, v2, :cond_0

    iget-object v0, p0, Lnbisdk/ij;->vB:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v0, v3, v3, v1, v1}, Lcom/nbi/map/data/Rectangle;->set(IIII)V

    iget-object v0, p0, Lnbisdk/ij;->vB:Lcom/nbi/map/data/Rectangle;

    :cond_0
    return-object v0
.end method

.method public final d(F)V
    .locals 5

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lnbisdk/ij;->TAG:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "scaleOffScreenOnCenterOfAnimation"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "(float scale)"

    invoke-static {v0, v1}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v0}, Lnbisdk/ao;->ai()Lnbisdk/kr;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/kr;->fE()I

    move-result v1

    invoke-virtual {v0}, Lnbisdk/kr;->fF()I

    move-result v2

    invoke-virtual {v0}, Lnbisdk/kr;->fG()I

    move-result v3

    invoke-virtual {v0}, Lnbisdk/kr;->fH()I

    move-result v0

    iget-object v4, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    if-eqz v4, :cond_0

    iget-object v4, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v4}, Lnbisdk/ao;->ar()V

    iget-object v4, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v4}, Landroid/graphics/Canvas;->save()I

    iget-object v4, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v4}, Landroid/graphics/Canvas;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v4

    invoke-virtual {v4}, Landroid/graphics/Matrix;->reset()V

    int-to-float v1, v1

    int-to-float v2, v2

    invoke-virtual {v4, p1, p1, v1, v2}, Landroid/graphics/Matrix;->postScale(FFFF)Z

    iget-object v1, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v1, v4}, Landroid/graphics/Canvas;->setMatrix(Landroid/graphics/Matrix;)V

    iget-object v1, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    iget-object v2, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    int-to-float v3, v3

    int-to-float v0, v0

    new-instance v4, Landroid/graphics/Paint;

    invoke-direct {v4}, Landroid/graphics/Paint;-><init>()V

    invoke-virtual {v1, v2, v3, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V

    iget-object v0, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    invoke-virtual {v0}, Landroid/graphics/Canvas;->restore()V

    :cond_0
    return-void
.end method

.method public final destroy()V
    .locals 2

    const/4 v1, 0x0

    iput-object v1, p0, Lnbisdk/ij;->kS:Ljava/util/Vector;

    iput-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    iget-object v0, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    invoke-virtual {v0}, Lnbisdk/gu;->destroy()V

    iput-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    :cond_0
    iget-object v0, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    invoke-virtual {v0}, Lnbisdk/gu;->destroy()V

    iput-object v1, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    :cond_1
    iput-object v1, p0, Lnbisdk/ij;->vB:Lcom/nbi/map/data/Rectangle;

    iput-object v1, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    iput-object v1, p0, Lnbisdk/ij;->vG:Ljava/util/Hashtable;

    iput-object v1, p0, Lnbisdk/ij;->mContext:Landroid/content/Context;

    return-void
.end method

.method public final e(Lcom/nbi/map/data/Rectangle;)Z
    .locals 5

    const/4 v4, 0x0

    const/4 v0, 0x1

    move v1, v4

    :goto_0
    iget-object v2, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v2, v2, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v2}, Ljava/util/Vector;->size()I

    move-result v2

    if-ge v1, v2, :cond_0

    iget-object v2, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    invoke-virtual {v2, v1}, Lnbisdk/gu;->ac(I)Lnbisdk/lm;

    move-result-object v2

    invoke-virtual {v2, p1}, Lnbisdk/lm;->d(Lcom/nbi/map/data/Rectangle;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-virtual {v2}, Lnbisdk/lm;->iu()Z

    move-result v2

    if-eqz v2, :cond_1

    move v0, v4

    :cond_0
    return v0

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method public final getBitmap()Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lnbisdk/ij;->nf:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public final k(ZZ)V
    .locals 4

    if-eqz p1, :cond_0

    invoke-direct {p0}, Lnbisdk/ij;->invalidate()V

    :cond_0
    iget-object v0, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    iget-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v0, v1}, Lnbisdk/gu;->g(Lnbisdk/ao;)V

    new-instance v0, Lnbisdk/qj;

    iget-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    iget-object v2, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v3, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    invoke-direct {v0, p0, v1, v2, v3}, Lnbisdk/qj;-><init>(Lnbisdk/ij;Lnbisdk/ao;Lnbisdk/gu;Lnbisdk/gu;)V

    invoke-virtual {v0, p2}, Lnbisdk/qj;->M(Z)V

    iget-object v0, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v1, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    iput-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iput-object v0, p0, Lnbisdk/ij;->vF:Lnbisdk/gu;

    iget-object v0, p0, Lnbisdk/ij;->vH:Lnbisdk/ij$b;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/ij;->vH:Lnbisdk/ij$b;

    invoke-interface {v0}, Lnbisdk/ij$b;->ii()V

    :cond_1
    return-void
.end method

.method public final ke()Landroid/graphics/Canvas;
    .locals 1

    iget-object v0, p0, Lnbisdk/ij;->vD:Landroid/graphics/Canvas;

    return-object v0
.end method

.method public final kf()Lnbisdk/gu;
    .locals 1

    iget-object v0, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    return-object v0
.end method

.method public final kg()V
    .locals 4

    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    iget-object v0, v1, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    iget-object v0, v1, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v0, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lm;

    const/4 v3, 0x1

    invoke-virtual {v0, v3}, Lnbisdk/lm;->B(Z)V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_0
    invoke-direct {p0}, Lnbisdk/ij;->invalidate()V

    return-void
.end method

.method public final kh()Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lnbisdk/ij;->vI:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public final ki()Z
    .locals 3

    const/4 v2, 0x0

    move v0, v2

    :goto_0
    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    iget-object v1, v1, Lnbisdk/gu;->jI:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    iget-object v1, p0, Lnbisdk/ij;->vE:Lnbisdk/gu;

    invoke-virtual {v1, v0}, Lnbisdk/gu;->ac(I)Lnbisdk/lm;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/lm;->iu()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    move v0, v2

    goto :goto_1
.end method

.method public final kj()Z
    .locals 4

    const/4 v3, 0x1

    iget-object v0, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v0

    shl-int v0, v3, v0

    iget-object v1, p0, Lnbisdk/ij;->aA:Lnbisdk/ao;

    invoke-virtual {v1}, Lnbisdk/ao;->cc()I

    move-result v1

    iget-object v2, p0, Lnbisdk/ij;->vC:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v2

    div-int v1, v2, v1

    shl-int/lit8 v1, v1, 0x1

    if-gt v0, v1, :cond_0

    move v0, v3

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
